package com.biz.primus.ms.stock.degraded;

import com.biz.primus.model.depot.vo.DepotRespVo;
import com.biz.primus.model.depot.vo.SearchDepotConditionVo;
import com.biz.primus.ms.stock.feign.DepotFeignClient;
import com.google.common.collect.Lists;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;
import java.util.Optional;

/**
 * @author JKLiues
 * @date 2017/10/21
 */
@Component
@Slf4j
public class DegradedDepotFeignClient implements DepotFeignClient {


    @Override
    public Optional<DepotRespVo> findDepotByDepotCode(String depotCode) {
        return Optional.empty();
    }

    @Override
    public List<DepotRespVo> findNearDepot(SearchDepotConditionVo vo) {
        return new ArrayList<>();
    }

    @Override
    public List<DepotRespVo> findDepotsByGeoId(Long geoId) {
        return new ArrayList<>();
    }

    @Override
    public List<DepotRespVo> getAllCenterDepots() {
        return new ArrayList<>();
    }

    @Override
    public List<DepotRespVo> getAllHomeDepots() {
        return new ArrayList<>();
    }

}
